﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;

/// <summary>
/// Summary description for PaymentBOL
/// </summary>
public class PaymentBOL
{
	public PaymentBOL()
	{
		//
		// TODO: Add constructor logic here
		//
	}
    public DataTable LoadPayment()
    {
        PaymentDAL pDAL = new PaymentDAL();
        try
        {
            return pDAL.LoadPayment();
        }
        catch
        {
            throw;
        }
    }
    public int insertPayment(Payment p)
    {
        PaymentDAL pDAL = new PaymentDAL();
        try
        {
            return pDAL.insertPayment(p);
        }
        catch
        {
            throw;
        }
        finally
        {
            pDAL = null;
        }
    }
}